package Month09.day0919.part_1;

public class Dog extends Animal{
    public Dog(String name, int age, String gender){
        super(name,age,gender);
        this.name = name;
        this.age = age;
        this.gender = gender;
    }

    public void dogEat(){
        System.out.println(name + "吃骨头");
    }

    //Dog类
    public void Demo(){
        System.out.println("Dog--Demo");
    }
}
